package com.david.cloud.user.service;

import com.david.cloud.user.entity.Token;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author david
 * @since 2020-05-24
 */
public interface ITokenService extends IService<Token> {

    Token getByToken(String token);

    Token genToken(String email);
}
